export default {
    install(Vue) {
        Vue.mixin({
            methods: {
                show_Toast(icon, title, duration=2000) {
                    uni.showToast({
                        icon: icon,
                        title: title,
                        duration: duration
                    });
                }
            }
        })
    }
}